/* ==========================================================================
   Adventio — Base / reset
   Light global defaults so consuming pages inherit the brand without effort.
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font: var(--type-body);
  color: var(--text-default);
  background: var(--surface-app);
  font-feature-settings: 'cv11' 1; /* single-storey g/a tweaks where supported */
}

h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

button { font-family: inherit; }

::selection { background: color-mix(in oklch, var(--pine-300) 55%, transparent); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
  border-radius: var(--radius-sm);
}

/* Custom scrollbars on the warm neutral surfaces */
* { scrollbar-width: thin; scrollbar-color: var(--stone-300) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: var(--stone-300);
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--stone-400); background-clip: content-box; }

/* ---------- A few resilient helpers ---------- */
.u-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums lining-nums; }
.u-display { font-family: var(--font-display); }
.u-eyebrow {
  font: var(--type-eyebrow);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
